/*
 * @(#)ControlMessage.java	1.0 2014年5月13日 下午5:15:23
 *
 * Copyright 2004-2010 Client Server International, Inc. All rights reserved.
 * CSII PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package cn.ymotel.dactor.message;

import cn.ymotel.dactor.core.MessageDispatcher;
import cn.ymotel.dactor.workflow.ActorProcessStructure;

import java.util.Deque;

/**
 * {type specification, must edit}
 *
 * @author Administrator {must edit, use true name}
 * <p>
 * Created on 2014年5月13日 Modification history {add your history}
 * </p>
 * @version 1.0
 * @since 1.0
 */
public class ControlMessage {


    private String state = "";

    /**
     * @return the state
     */
    public String getState() {
        return state;
    }

    /**
     * @param state the state to set
     */
    public void setState(String state) {
        this.state = state;
    }

    private MessageDispatcher messageDispatcher;

    public MessageDispatcher getMessageDispatcher() {
        return messageDispatcher;
    }

    public void setMessageDispatcher(MessageDispatcher messageDispatcher) {
        this.messageDispatcher = messageDispatcher;
    }

    public Deque<ActorProcessStructure> getActorsStack() {
        return null;
    }

    public ActorProcessStructure getProcessStructure() {
        return null;
    }

    private ControlMessage parent = null;

    public ControlMessage getParent() {
        return parent;
    }

    public void setParent(ControlMessage parent) {
        this.parent = parent;
    }
}
